/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package minilistdeviant;

/**
 *
 * @author root
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        byte b = -128;
        for(int i=0;i<256;i++) {
            echo(i,b);
            b++;
        }        
    }

    public static void echo(int line, byte b) {
        System.out.println(line+":(type:"+_TYPE(b)+" load:"+_LOAD(b)+" hash:"+b+")");
    }

    public static byte _TYPE(byte b) {
        return (byte)(b & 0x03);
    }

    public static byte _LOAD(byte b) {
        return (byte)(b >> 2);
    }
}
